package com.lixp.exam.dao;

import com.lixp.exam.bean.RoomInfo;
import com.lixp.exam.utils.MyMapper;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

@Repository
public interface RoomInfoMapper extends MyMapper<RoomInfo> {
    @Delete("delete from tbl_roominfo where rid = #{rid}")
    Boolean deleteOneRoom(String rid);

    @Delete("delete from tbl_roominfo where 1 = 1")
    Boolean deleteAllRoom();
}